<!-- 我的步骤 -->

<template>
  <div>
    <div class="flexCC">
      <div class="flex8">
        <MajorTitle title="处置步骤" />
      </div>
      <div class="flex2 flexCC">
        <div class="MajorTitle auto">
          <span class="MajorTitle-prop">是否完成</span>
        </div>
      </div>
      <div class="flex2 flexCC">
        <div class="MajorTitle auto">
          <span class="MajorTitle-prop">用时</span>
        </div>
      </div>
    </div>

    <div class="flexCC marginBottom" v-for="(item, i) in one.emergencyDrillStepDtos" :key="item.id">
      <div class="flex1 alignCenter">
        <b>{{ i + 1 }}</b>
      </div>
      <ShowTextMulti class="flex7 noMargin" :one="item" bind="stepDesc" noLabel />
      <div class="flex2 alignCenter">
        <ShowStatus :one="item" bind="isFinish" :dict="CORE.DICT.YES" noLabel noMargin auto />
      </div>
      <div class="flex2 alignCenter">{{ item.duringText }}</div>
    </div>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyStep',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
